package feng.demo.entity;

public class Hot {
    private Integer hotid;
    private String memo;
    private Integer pic;
    private Integer heat;
    private Type type;

    public Hot() {
        this.type = new Type();
    }

    public Integer getHotid() {
        return hotid;
    }

    public void setHotid(Integer hotid) {
        this.hotid = hotid;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getPic() {
        return pic;
    }

    public void setPic(Integer pic) {
        this.pic = pic;
    }

    public Integer getHeat() {
        return heat;
    }

    public void setHeat(Integer heat) {
        this.heat = heat;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Hot{" +
                "hotid=" + hotid +
                ", memo='" + memo + '\'' +
                ", pic=" + pic +
                ", heat=" + heat +
                ", type=" + type +
                '}';
    }
}
